﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using fuzhu;
using LH.Model.PU;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using NETCore.MailKit.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Org.BouncyCastle.Ocsp;
using XXX.Bo;
using XXX.Common;
using XXX.Models;
using XXX.Models.WMS;
using Yonyou.U8.BO;

// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860

namespace XXX.api.Controllers
{

 
    /// <summary>
    /// 生成产成品入库单
    /// </summary>
    [Route("api/wms/[controller]")]
        [ApiController]
        //[Authorize]
        public class ST_HandleErrController : ControllerBase
        {
        private readonly ILogger<ST_HandleErrController> _logger;
        private readonly IEmailService _EmailService; 

            public ST_HandleErrController(ILogger<ST_HandleErrController> logger, IEmailService emailService)
            {
                //_invRepository = xxxRepository;
                _logger = logger;
                _EmailService = emailService;
        }
         
        [HttpGet] 
        public string AddFromMo(string obj)
            {
            string cerr = "";
            XmlOperation.GetCoResult_addverify("","1",out cerr,out _,out _, obj);
            return cerr;
            }

 
        

    }

         



        
     

     
   
     
    

    
    

}
